﻿/*-----------------------------------------------
// File: DictFragBlo.cs
// Description: 
// Author: Shaobing	492057342@qq.com
-----------------------------------------------*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Blo
{
    public class DictFragBlo
    {
        public static TableFrag GetTableFrag(string id)
        {
            return Dict.DictDataManager.Instance.tableFragDao.GetById(id);
        }

        public static List<TableFrag> GetFragByTarget(string targetId)
        {
            return Dict.DictDataManager.Instance.tableFragDao.GetByOneIndex(targetId);
        }
    }
}
